package work1.company;

public class Test {
    public static void main(String[] args) {
        Company taobao = new Company();
        taobao.setName("淘宝");
        taobao.setNum(4000);
        taobao.output();


        Company qq = new Company("腾讯",10000);
        qq.output();
    }
}
